package com.nowcode.community.service;

import com.nowcode.community.entity.Comment;

import java.util.List;

/**
 * ClassName: CommentService
 * Package: com.nowcode.community.service
 * Description:
 *
 * @Author: 信
 * @Create: 2024/1/24 - 15:55
 */
public interface CommentService {

    List<Comment> findCommentsByEntity(int entityType, int entityId, int offset, int limit);

    int findCommentCount(int entityType, int entityId);

    int addComment(Comment comment);

    Comment findCommentById(int entityId);
}
